package com.chat.service;

import com.chat.request.MessageGroupRequest;
import com.chat.request.SendMessageRequest;
import com.chat.request.WithdrawOneRequest;

public interface PushService {
    /**
     * 推送给指定用户
     */
    Boolean pushMsgToOne(SendMessageRequest sendMessageRequest);

    void pushMsgToAll(String msg);

    void pushMsgToGroup(MessageGroupRequest dto);

    void withdrawOne(WithdrawOneRequest dto);
}

